package com.xiaoquan.graphql.test;

import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;

public final class ResourceLoader {

    public static Reader load(String fileName) {
        InputStream resourceAsStream = ResourceLoader.class.getClassLoader().getResourceAsStream(fileName);
        return new InputStreamReader(resourceAsStream);
    }


}
